// pages/mine/studyroom/studyroom.js

const http = require('../../../utils/util');
const Base64 = require('../../../utils/base');


Page({
	data:{
		chamber:''
	},
	onLoad() {
		this.getData()
	},
	//获取数据
	getData(){
		
		http.post('help/communal').then((res)=>{
			
			if(res.status==1){
				console.log(res);
				this.setData({
					chamber:res.result.chamber
				})
			}else{
				wx.showToast({
					title:res.message,
					icon:'none'
				})
			}
		})
	}
})
